/*
 * Singularity Engine
 * Copyright (C) 2010 Vyacheslav Vorobyov, All rights reserved.
 * See LICENSE for full license information.
 */

package org.singularity.mapred.model;

import org.singularity.io.Output;
import org.singularity.mapred.OutputElement;

public class DefaultOutputElement<VT> extends AbstractElement implements OutputElement<VT> {

	private final Output<VT> _output;

	public DefaultOutputElement(DefaultCascade aCascade, Output<VT> aOutput, Object aId) {
		super(aCascade,Code.Output, aId);
		_output = aOutput;
	}

	@Override
	public Output<VT> getOutput() {
		return _output;
	}
}
